Calculating a layout for an object or a sub-tree in the scene graph can be a computationally intensive task. In general, any movement in any object of, for example, a grid layout, causes recalculation of the layout, which in turn slows down framebuffer updating.
To optimize the rendering of layouts you have to reduce the number of calls to the kzuObjectNodeInvalidateLayout, which causes recalculation of the layout for the next frame:
To view the animation and layout performance of your Kanzi your application:
configuration->animationVisualizationEnabled = KZ_TRUE;
Because render transformations do not recalculate a layout, use render transformations instead of other transformations.
To use render transformations:
Setting layers for efficient rendering
Preventing overdraw with sorting filters